<?php
	include 'inc/conn.php';
	extract($_POST);
	extract($_GET);
	unset($_POST,$_GET);

	if(isset($line) && isset($wo) && isset($pn) && isset($msg)){
		$toDB="$msg,$pn,$wo,$line";
		$db = new mysql();
		$db->query("INSERT INTO `Error_Collect` (`ErrMsg`) values ('${toDB}')");
		$db->close();
		echo "OK";
	}
?>